/*!
 * Copyright 2019 WeBank
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

.circle-progress {
    position: relative;
    display: inline-block;
    .circle-progress__track {
        stroke: #e5e9f2;
        stroke-width: 8;
        fill: none;
    }
    .circle-progress__path {
        stroke-linecap: round;
        stroke: orange;
        stroke-width: 8;
        fill: none;
        stroke-dasharray: 299.08px, 299.08px;
        stroke-dashoffset: 0;
        transition: stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease 0s;
    }
    .circle-progress__perent {
        position: absolute;
        top: calc(50% - 20px);
        width: 100%;
        display: block;
        text-align: center;
        font-size: 16px;
    }
    .circle-progress__text {
        position: absolute;
        top: calc(50% + 4px);
        width: 100%;
        display: block;
        text-align: center;
        font-size: 10px;
    }
    .circle-progress__title {
        display: block;
        width: 100%;
        text-align: center;
    }
}
